package editor.animation;

import javax.swing.tree.DefaultMutableTreeNode;
import java.awt.*;

public class ColoredNode extends DefaultMutableTreeNode {
	public ColoredNode() {
		super();
		setColor(Color.BLACK);
	}

	public ColoredNode(Object userObject) {
		super(userObject);
	}

	public ColoredNode(Object userObject, boolean allowsChildren) {
		super(userObject, allowsChildren);
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public Color getColor() {
		return color;
	}

	private Color color;
}